<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>user</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.css}"></link>
</head>
<body class="container">
<br/>
<h1 align="center">添加用户</h1>
<br/><br/>
<div class="with:80%" align="center">
    <form class="form-horizontal"   th:action="@{/add}"  method="post">
        <div class="form-group">
            <label for="userName" class="col-sm-2 control-label">用户姓名</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="userName"  id="userName" placeholder="用户姓名"/>
            </div>
        </div>
        <div class="form-group">
            <label for="password" class="col-sm-2 control-label" >密码</label>
            <div class="col-sm-10">
                <input type="password" class="form-control" name="passWord" id="passWord" placeholder="密码"/>
            </div>
        </div>
        <div class="form-group">
            <label for="age" class="col-sm-2 control-label">邮箱</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="email"  id="email" placeholder="邮箱"/>
            </div>
        </div>
        <div class="form-group">
            <label for="text" class="col-sm-2 control-label" >电话</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="phone"  id="phone" placeholder="电话"/>
            </div>
        </div>
        <div class="form-group">
            <label for="text" class="col-sm-2 control-label" >性别</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="sex"  id="sex" placeholder="性别"/>
            </div>
        </div>
        <div class="form-group">
            <label for="text" class="col-sm-2 control-label" >出生年月</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="birthday"  id="birthday" placeholder="出生年月"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="submit" value="提交" class="btn btn-info" />
                &nbsp; &nbsp; &nbsp;
                <input type="reset" value="重置" class="btn btn-info" />
            </div>
        </div>
    </form>
</div>
</body>
</html>
